/*
 *  NODE.h
 *  pcm
 *
 *  Created by Yanick Candaux on 16.12.11.
 *  Copyright 2011 Heig-vd. All rights reserved.
 *
 */


#ifndef NODE_H_
#define NODE_H_

#include "BoardInfos.hpp"
#include <cstring>
using namespace std;

namespace pcm {
	
class Node {
		
		
public:
	
	Node(){
		m_next = NULL;
		m_value = NULL;
	}
	
	
	Node(BoardInfos *m_value, Node *m_next);
	
	inline Node* next() {
		return m_next;
	}
	
	inline Node** pointerNext() {
		return &m_next;
	}
	
	inline BoardInfos *value() {
		return m_value;
	}
	
	inline void setValue(BoardInfos *val){
		m_value = val;
	}
	
	inline void setNext(Node *next){
		m_next = next;
	}
	
	
//protected:
	BoardInfos *m_value;
	Node *m_next;	
	
	
	
	
};
	
} /* namespace pcm */
#endif /* NODE_H_ */
